from exts import db

class Money(db.Model):
    __tablename__='money'
    id=db.Column(db.Integer,primary_key=True,autoincrement=True)
    email=db.Column(db.String(30),nullable=False)
    username=db.Column(db.String(30),nullable=False)
    password=db.Column(db.String(120),nullable=False)
    total=db.Column(db.DECIMAL(12,2),nullable=False)